package com.zkt.auth.application.convert;

import com.zkt.auth.entity.AuthUserDTO;
import com.zkt.auth.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2024/10/5
 * @description 用户的实体类型转换器
 **/

@Mapper
public interface AuthUserDTOConverter {
	
	AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);
	
	AuthUserBO convertDtoToBo(AuthUserDTO authUserDTO);
	
	AuthUserDTO convertBoToDto(AuthUserBO authUserBO);
	
}
